package com.CST.controller;


import com.CST.annotation.*;
import com.CST.common.api.Response;
import com.CST.common.api.ResultObject;
import com.CST.common.constant.*;
import com.CST.dto.DateDTO;
import com.CST.entity.*;
import com.CST.service.*;
import com.CST.util.PageHelperTool;
import com.CST.vo.SalaryDetailByAccIdVO;
import com.baomidou.mybatisplus.core.toolkit.CollectionUtils;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.*;

import java.util.*;

import org.springframework.beans.factory.annotation.*;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xnd
 * @since 2022-01-13
 */
@Api(tags = {"工资项目"})
@RestController
@RequestMapping("/etlAcSalary")

public class EtlAcSalaryController {
    
    @Autowired
    private IEtlAcSalaryService etlAcSalaryService;

    @PostMapping("/getSalarySource")
    @ApiOperation("工资项目")
    public ResultObject getSalarySource(@RequestBody EtlAcSalary entity) {
        List<EtlAcSalary> result = etlAcSalaryService.getSalarySource(entity);
        return ResultObject.successReturn(result);
    }

}

